/*  1:   */ package org.jetbrains.jps.model.library.impl;
/*  2:   */ 
/*  3:   */

import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.ex.JpsElementBase;
import org.jetbrains.jps.model.library.JpsLibrary;
import org.jetbrains.jps.model.library.JpsLibraryRoot;
import org.jetbrains.jps.model.library.JpsLibraryRoot.InclusionOptions;
import org.jetbrains.jps.model.library.JpsOrderRootType;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */
/*  9:   */ 
/* 10:   */ public class JpsLibraryRootImpl
/* 11:   */   extends JpsElementBase<JpsLibraryRootImpl>
/* 12:   */   implements JpsLibraryRoot
/* 13:   */ {
/* 14:   */   private final String a;
/* 15:   */   private final JpsOrderRootType b;
/* 16:   */   private final JpsLibraryRoot.InclusionOptions c;
/* 17:   */   
/* 18:   */   public JpsLibraryRootImpl(@NotNull String paramString, @NotNull JpsOrderRootType paramJpsOrderRootType, @NotNull JpsLibraryRoot.InclusionOptions paramInclusionOptions)
/* 19:   */   {
/* 20:33 */     this.a = paramString;
/* 21:34 */     this.b = paramJpsOrderRootType;
/* 22:35 */     this.c = paramInclusionOptions;
/* 23:   */   }
/* 24:   */   
/* 25:   */   public JpsLibraryRootImpl(JpsLibraryRootImpl paramJpsLibraryRootImpl)
/* 26:   */   {
/* 27:39 */     this.a = paramJpsLibraryRootImpl.a;
/* 28:40 */     this.b = paramJpsLibraryRootImpl.b;
/* 29:41 */     this.c = paramJpsLibraryRootImpl.c;
/* 30:   */   }
/* 31:   */   
/* 32:   */   @NotNull
/* 33:   */   public JpsOrderRootType getRootType()
/* 34:   */   {
/* 35:47 */     JpsOrderRootType tmp4_1 = this.b;
/* 36:47 */     if (tmp4_1 == null) {
/* 37:47 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "getRootType" }));
/* 38:   */     }
/* 39:47 */     return tmp4_1;
/* 40:   */   }
/* 41:   */   
/* 42:   */   @NotNull
/* 43:   */   public String getUrl()
/* 44:   */   {
/* 45:52 */     String tmp4_1 = this.a;
/* 46:52 */     if (tmp4_1 == null) {
/* 47:52 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "getUrl" }));
/* 48:   */     }
/* 49:52 */     return tmp4_1;
/* 50:   */   }
/* 51:   */   
/* 52:   */   @NotNull
/* 53:   */   public JpsLibraryRoot.InclusionOptions getInclusionOptions()
/* 54:   */   {
/* 55:58 */     JpsLibraryRoot.InclusionOptions tmp4_1 = this.c;
/* 56:58 */     if (tmp4_1 == null) {
/* 57:58 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "getInclusionOptions" }));
/* 58:   */     }
/* 59:58 */     return tmp4_1;
/* 60:   */   }
/* 61:   */   
/* 62:   */   @NotNull
/* 63:   */   public JpsLibraryRootImpl createCopy()
/* 64:   */   {
/* 65:64 */     void tmp8_5 = new JpsLibraryRootImpl(this);
/* 66:64 */     if (tmp8_5 == null) {
/* 67:64 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "createCopy" }));
/* 68:   */     }
/* 69:64 */     return tmp8_5;
/* 70:   */   }
/* 71:   */   
/* 72:   */   public void applyChanges(@NotNull JpsLibraryRootImpl paramJpsLibraryRootImpl)
/* 73:   */   {
/* 74:68 */     if (paramJpsLibraryRootImpl == null) {
/* 75:68 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "applyChanges" }));
/* 76:   */     }
/* 77:   */   }
/* 78:   */   
/* 79:   */   @NotNull
/* 80:   */   public JpsLibrary getLibrary()
/* 81:   */   {
/* 82:73 */     JpsLibrary tmp10_7 = ((JpsLibrary)this.myParent.getParent());
/* 83:73 */     if (tmp10_7 == null) {
/* 84:73 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/library/impl/JpsLibraryRootImpl", "getLibrary" }));
/* 85:   */     }
/* 86:73 */     return tmp10_7;
/* 87:   */   }
/* 88:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.library.impl.JpsLibraryRootImpl

 * JD-Core Version:    0.7.0.1

 */